package cn.vivi.seckill.service;

import cn.vivi.seckill.pojo.User;
import cn.vivi.seckill.vo.LoginVo;
import cn.vivi.seckill.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserService {
    RespBean doLogin(LoginVo vo, HttpServletRequest request, HttpServletResponse response);

    User getUserByCookie(String ticket, HttpServletRequest request, HttpServletResponse response);
}
